<?php

namespace App\Http\Requests;


class UserBankRequest extends BaseRequest
{

    public function rules(): array
    {
        return [
            'bank_name' => ['required'],
            'bank_num' => ['required'],
            'name' => ['required'],
        ];
    }


    public function messages(): array
    {
        return [
            'bank_name.required'=>'请输入开户行名称!',
            'bank_num.required'=>'请输入银行卡号!',
            'name.required'=>'请输入开户姓名!'
        ];
    }

}
